			<#include "../pc/header.html">	
 <div class="mcontent">
		    <#include "../admin/nave.html">	 
	        <script type="text/javascript" src="${s.base}/res/js/gdgrid.js"></script> 
			<div class="c_body " >
					<div class="page_view"  id="provincecfg" >
					    <div class="ds_tool   shadow">
					        <span class="title">
					                                  企业号管理
					        </span> 
					        <div class="title_tool">
					            <a href="#"  id="plus"  ><i class="fa fa-plus-square"  ></i></a> 
							    <a href="#"   id="minus" ><i class="fa fa-minus-square" ></i></a>		 
						        <a href="#"   id="save" > <i class="fa fa-save "  ></i> </a>
						    </div>
						</div>
					 
					  <div class="ds_view">
						    <div class="dgride"     >
							    <div class="gbheader gradient" id="title">
							         
							    </div>
						    <div class="content scroll  nav_items_lay"  >
						    	  <ul class='items' >
		               	                 <div>正在加载.. ..</div> 
		              	          </ul>	
						    </div>
						 </div>

					  </div>
 
					</div>
			</div>
			
			

 
						 
		 <#include "../pc/flooder.html">				 
		         
	    <script>
	     $(function(){
	    	 
	    	 
	    	 var grid= $("#provincecfg").dgrid({gdcfg:cfgGrids.provincecfg,geturl:CONETXT_PATH+"/base/provincejson/",saveurl:CONETXT_PATH+"/base/saveprivince/"});
			   	
				$("body").on("click",".title_tool #plus",function(){
					 var newitem={corpId:"corpId",province:"province",provincename:"provincename",corpSecret:"corpSecret",aesKey:"aesKey",used:"false",url:"url",corpicon:"corpicon"};
					
					 grid.addRowItem(newitem);
				});
				
				$("body").on("click",".title_tool #minus",function(){
				 
					$(".item.active").remove();
							
			    });
		
				$("body").on("click",".title_tool #save",function(){
					 grid.save();
				}); 
	     })
 
    
      
	   </script>
	
 
